From: Katsumi Yamaoka Date: Tue, 21 Feb 2017 00:24:05 +0000 (+0000) Subject: message-goto-body-1: Fix regexp so as not to match multi-line X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~21^2~1780 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=18c476956d552f2e6f833b74faa95c095c441541;p=emacs.git message-goto-body-1: Fix regexp so as not to match multi-line * lisp/gnus/message.el (message-goto-body-1): Fix regexp so as not to match multi-line. --- diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 079ed52ba51..a8f2b143f21 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -3119,7 +3119,7 @@ M-RET `message-newline-and-reformat' (break the line and reformat)." ;; hard way. (progn ;; Skip past all headers and continuation lines. - (while (looking-at "[^:]+:\\|[\t ]+[^\t ]") + (while (looking-at "[^\t\n :]+:\\|[\t ]+[^\t\n ]") (forward-line 1)) ;; We're now at the first empty line, so perhaps move past it. (when (and (eolp)